ol,
ul {
  list-style: none;
  padding-left: 0px;
}

.interval-bar-chart {
  width: 100%;
  height: 100%;
  position: relative;
  .crosswise_diagram {
    width: 100%;
    height: calc(100% - 64px);
    position: relative;
    .crosswise_diagram_top {
      display: flex;
      height: 100%;
      margin-left: 66px;
      .crosswise_diagram_item {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
        text-align: center;
        white-space: nowrap;
        justify-content: flex-end;
        text-overflow: ellipsis;
        height: 100%;
        align-items: center;
        width: 84px;
        .crosswise_diagram_item_name {
          position: absolute;
          font-size: 12px;
          font-weight: 400;
          color: #8b98a9;
          display: -webkit-box;
          overflow: hidden;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          max-width: 68px;
          white-space: normal;
        }
        .crosswise_diagram_item_precent {
          width: 84px;
          height: 100%;
          position: relative;
          transition: all 0.3s linear;
          display: flex;
          align-items: flex-end;
          justify-content: center;
          .precent-wrapper {
            position: relative;
            span {
              display: inline-block;
              width: 8px;
              height: 8px;
              background: #5a86ff;
              border: 1px solid #ffffff;
              border-radius: 50%;
              z-index: 10;
            }
            .top-box {
              position: absolute;
              top: -4px;
              left: 4px;
            }
            .bottom-box {
              position: absolute;
              bottom: -4px;
              left: 4px;
            }
            .precent {
              position: absolute;
              left: 50%;
              bottom: 0px;
              transform: translateX(-50%);

              > div {
                position: absolute;
                width: 66px;
                text-align: center;
                top: -2%;
                height: 21px;
                margin-top: -21px;
              }
            }
          }

          &:hover {
            background: rgba(220, 224, 230, 0.2);
          }
        }
      }
    }
    .crosswise_diagram_bottom {
      position: absolute;
      bottom: 0px;
      height: 100%;
      width: 100%;
      left: 0px;
      .crosswise_diagram_ul {
        width: 100%;
        height: 100%;
        position: relative;
        margin-bottom: 0px;
        .crosswise_diagram_li {
          width: 100%;
          position: absolute;
          display: flex;
          flex-direction: row;
          .crosswise_diagram_name {
            position: relative;
            top: -9px;
            width: 45px;
            font-size: 12px;
            color: #a6b1bf;
            text-align: right;
            margin-right: 21px;
          }
          .crosswise_diagram_precent {
            width: 90%;
            height: 100%;
            border-top: 1px dashed #ECEEF1;
            color: #a6b1bf;
          }
        }
      }
    }
  }
  .legend {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 44px;
    .legend-item {
      display: flex;
      margin-right: 24px;
      align-items: center;
      .block {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 8px;
      }
      .text {
        font-size: 12px;
        color: #617185;
      }
    }
  }
}

.interval-bar-charttooltip-wrapper {
  .interval-bar-charttooltip-item {
    .block {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-right: 8px;
    }
    .text {
      font-size: 12px;
      color: #617185;
    }
  }
}

.ant-tooltip.interval-bar-chart-tooltip.ant-tooltip-placement-right {
  .ant-tooltip-content {
    .ant-tooltip-inner {
      padding: 12px;
    }
  }
}